FROM harbor-cust92.netease.com/library/tomcat:7-jdk8-openjdk
MAINTAINER zhj
ADD http://console-cust92.netease.com/download/nsf/nsf-agent-v2.6.8-c2a5e1f9-20201203-141827.jar  /nsf-agent.jar
COPY ./demo-consumer/target/demo-consumer-1.0-SNAPSHOT.jar /demo-consumer.jar
COPY ./lib/demo-consumer.yml /demo-consumer.yml
ENTRYPOINT ["java","-javaagent:/nsf-agent.jar=demo-consumer","-Dnsf.log.level=debug","-jar","/demo-consumer.jar"]
